package com.azure.bigstore.repository;

import com.azure.bigstore.entity.Admin;
import com.azure.bigstore.entity.Token;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by liuhuaibin on 2018/1/23.
 */
public interface TokenRepository extends JpaRepository<Token,Long> {
    Token findByToken(String tn);
    Token findByUid(long uid);
}
